<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ include file="/common/taglib.jsp" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=gbk">
    <link href="http://images.5d6d.com/orig/admincp/admincp.css" rel="stylesheet" type="text/css"/>
    <script language="JavaScript" src="http://images.5d6d.com/orig/javascript/common.js"></script>
    <script src="http://images.5d6d.com/orig/javascript/iframe.js" type="text/javascript"></script>
    <script language="JavaScript">
        function checkalloption(form, value) {
            for (var i = 0; i < form.elements.length; i++) {
                var e = form.elements[i];
                if (e.value == value && e.type == 'radio' && e.disabled != true) {
                    e.checked = true;
                }
            }
        }


        function zoomtextarea(objname, zoom) {
            zoomsize = zoom ? 10 : -10;
            obj = $(objname);
            if (obj.rows + zoomsize > 0 && obj.cols + zoomsize * 3 > 0) {
                obj.rows += zoomsize;
                obj.cols += zoomsize * 3;
            }
        }

        function redirect(url) {
            window.location.replace(url);
        }

        var collapsed = getcookie('CM2_collapse');
        function collapse_change(menucount) {
            if ($('menu_' + menucount).style.display == 'none') {
                $('menu_' + menucount).style.display = '';
                collapsed = collapsed.replace('[' + menucount + ']', '');
                $('menuimg_' + menucount).src = 'http://images.5d6d.com/orig/admincp/menu_reduce.gif';
            } else {
                $('menu_' + menucount).style.display = 'none';
                collapsed += '[' + menucount + ']';
                $('menuimg_' + menucount).src = 'http://images.5d6d.com/orig/admincp/menu_add.gif';
            }
            setcookie('CM2_collapse', collapsed, 2592000);
        }
    </script>
</head>

<body leftmargin="10" topmargin="10">
<table width="100%" border="0" cellpadding="2" cellspacing="6">
<tr>
<td>
<s:form method="post" action="/admin/adminGroupDroit.do">
<a name="d6f648ec5c05e6d2"></a>
<br><a name="fc7692b098d134af"></a>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
<tr class="header">
    <td colspan="2">基本权限<a href="###" onclick="collapse_change('fc7692b098d134af')"><img
            id="menuimg_fc7692b098d134af" src="http://images.5d6d.com/orig/admincp/menu_reduce.gif" border="0"
            style="float: right; margin-top: -12px; margin-right: 8px;"/></a>
    </td>
</tr>
<tbody id="menu_fc7692b098d134af">
<tr>
    <td width="60%" class="altbg1"><b>允许编辑帖子:</b><br><span class="smalltxt">选择“否”将彻底禁止用户编辑的任何帖子</span>
    </td>
    <td class="altbg2">
        <s:hidden name="permissionsStr" value="canEditPost"/>
        <input class="radio" class="radio" type="radio" name="canEditPost" value="canEditPost"
        <c:if test="${fn:indexOf(actionBean.adminGroup.permissions,'canEditPost')!=-1}"> checked</c:if>> 是
        &nbsp; &nbsp;
        <input class="radio" class="radio" type="radio" name="canEditPost" value="0"
        <c:if test="${fn:indexOf(actionBean.adminGroup.permissions,'canEditPost')==-1}"> checked</c:if> > 否
    </td>
</tr>
    <%-- <tr>
        <td width="60%" class="altbg1"><b>阅读权限:</b><br><span class="smalltxt">设置用户浏览帖子或附件的权限级别，范围 0～255，0 为禁止用户浏览任何帖子或附件。当用户的阅读权限小于帖子或附件的阅读权限许可(默认时为 1)时，用户将不能阅读该帖子或下载该附件</span>
        </td>
        <td class="altbg2"><input type="text" size="30" name="readaccessnew" value="0">
        </td>
    </tr>--%>
<tr>
    <td width="60%" class="altbg1"><b>允许审核帖子:</b><br><span class="smalltxt">设置是否允许审核用户发表的帖子，只在论坛设置需要审核时有效</span></td>
    <td class="altbg2">
        <s:hidden name="permissionsStr" value="canVerifyPost"/>
        <input class="radio" class="radio" type="radio" name="canVerifyPost" value="canVerifyPost"
        <c:if test="${fn:indexOf(actionBean.adminGroup.permissions,'canVerifyPost')!=-1}"> checked</c:if>>
        是 &nbsp; &nbsp;
        <input class="radio" class="radio" type="radio" name="canVerifyPost" value="0"
        <c:if test="${fn:indexOf(actionBean.adminGroup.permissions,'canVerifyPost')==-1}"> checked</c:if>> 否
    </td>
</tr>


<tr>
    <td width="60%" class="altbg1"><b>允许删除帖子:</b><br><span class="smalltxt">设置是否运行删除管理范围内的帖子</span>
    </td>
    <td class="altbg2">
        <s:hidden name="permissionsStr" value="canDeletePost"/>
        <input class="radio" type="radio" name="canDeletePost" value="canDeletePost"
        <c:if test="${fn:indexOf(actionBean.adminGroup.permissions,'canDeletePost')!=-1}"> checked</c:if>> 是 &nbsp; &nbsp;
        <input class="radio" type="radio" name="canSearch" value="0"
        <c:if test="${fn:indexOf(actionBean.adminGroup.permissions,'canDeletePost')==-1}"> checked</c:if>> 否<br>
    </td>
</tr>
<tr>
    <td width="60%" class="altbg1"><b>允许编辑用户:</b><br><span class="smalltxt">选择“否”将彻底禁止用户不能编辑其他用户信息</span>
    </td>
    <td class="altbg2">
        <s:hidden name="permissionsStr" value="canEditUser"/>
        <input class="radio" type="radio" name="canEditUser" value="canEditUser"
        <c:if test="${fn:indexOf(actionBean.adminGroup.permissions,'canEditUser')!=-1}"> checked</c:if>>
        是 &nbsp; &nbsp;<input
            class="radio" type="radio" name="canEditUser" value="0"
    <c:if test="${fn:indexOf(actionBean.adminGroup.permissions,'canEditUser')==-1}"> checked</c:if>> 否<br>
    </td>
</tr>

<tr>
    <td width="60%" class="altbg1"><b>允许禁止用户:</b><br><span class="smalltxt">选择“否”将彻底禁止用户不能对其他用户进行屏蔽</span>
    </td>
    <td class="altbg2">
        <s:hidden name="permissionsStr" value="canForbidUser"/>
        <input class="radio" type="radio" name="canForbidUser" value="canForbidUser"
        <c:if test="${fn:indexOf(actionBean.adminGroup.permissions,'canForbidUser')!=-1}"> checked</c:if>>
        是 &nbsp; &nbsp;<input
            class="radio" type="radio" name="canForbidUser" value="0"
    <c:if test="${fn:indexOf(actionBean.adminGroup.permissions,'canForbidUser')==-1}"> checked</c:if>> 否<br>
    </td>
</tr>

<tr>
    <td width="60%" class="altbg1"><b>允许审核用户:</b><br><span class="smalltxt">设置是否允许审核用户，只在论坛设置需要审核时有效</span>
    </td>
    <td class="altbg2">
        <s:hidden name="permissionsStr" value="canVerifyUser"/>
        <input class="radio" type="radio" name="canVerifyUser" value="canVerifyUser"
        <c:if test="${fn:indexOf(actionBean.adminGroup.permissions,'canVerifyUser')!=-1}"> checked</c:if>>
        是 &nbsp; &nbsp;<input
            class="radio" type="radio" name="canVerifyUser" value="0"
    <c:if test="${fn:indexOf(actionBean.adminGroup.permissions,'canVerifyUser')==-1}"> checked</c:if>> 否<br>
    </td>
</tr>

<tr>
    <td width="60%" class="altbg1"><b>允许发布公告:</b><br><span class="smalltxt">设置是否允许发布论坛公告。</span>
    </td>
    <td class="altbg2">
        <s:hidden name="permissionsStr" value="canPostNote"/>
        <input class="radio" type="radio" name="canPostNote" value="canPostNote"
        <c:if test="${fn:indexOf(actionBean.adminGroup.permissions,'canPostNote')!=-1}"> checked</c:if>>
        允许发布 &nbsp; &nbsp;<input
            class="radio" type="radio" name="canPostNote" value="0"
    <c:if test="${fn:indexOf(actionBean.adminGroup.permissions,'canPostNote')==-1}"> checked</c:if>> 不允许发布<br>
    </td>
</tr>

<tr>
    <td width="60%" class="altbg1"><b>允许加精/解除:</b><br><span class="smalltxt">选择“否”将不允许用户对言论进行审评</span>
    </td>
    <td class="altbg2">
        <s:hidden name="permissionsStr" value="canDigestPost"/>
        <input class="radio" type="radio" name="canDigestPost" value="canDigestPost"
        <c:if test="${fn:indexOf(actionBean.adminGroup.permissions,'canDigestPost')!=-1}"> checked</c:if>>
        允许加精 &nbsp; &nbsp;<input
            class="radio" type="radio" name="canDigestPost" value="0"
    <c:if test="${fn:indexOf(actionBean.adminGroup.permissions,'canDigestPost')==-1}"> checked</c:if>> 否<br>
    </td>
</tr>
<tr>
    <td width="60%" class="altbg1"><b>允许置顶/解除:</b><br><span class="smalltxt">设置允许置顶主题的级别。</span>
    </td>
    <td class="altbg2">
        <s:hidden name="permissionsStr" value="canStickPost"/>
        <input class="radio" type="radio" name="canStickPost" value="canStickPost"
        <c:if test="${fn:indexOf(actionBean.adminGroup.permissions,'canStickPost')!=-1}"> checked</c:if>>
        是 &nbsp; &nbsp;<input
            class="radio" type="radio" name="canStickPost" value="0"
    <c:if test="${fn:indexOf(actionBean.adminGroup.permissions,'canStickPost')==-1}"> checked</c:if>> 否<br>
    </td>
</tr>
<tr>
    <td width="60%" class="altbg1"><b>允许更改主题分类:</b><br><span class="smalltxt">设置允许可以更改每一个主题的类别。</span>
    </td>
    <td class="altbg2">
        <s:hidden name="permissionsStr" value="canChangeCategory"/>
        <input class="radio" type="radio" name="canChangeCategory" value="canChangeCategory"
        <c:if test="${fn:indexOf(actionBean.adminGroup.permissions,'canChangeCategory')!=-1}"> checked</c:if>>
        是 &nbsp; &nbsp;<input
            class="radio" type="radio" name="canChangeCategory" value="0"
    <c:if test="${fn:indexOf(actionBean.adminGroup.permissions,'canChangeCategory')==-1}"> checked</c:if>> 否<br>
    </td>
</tr>
<tr>
    <td width="60%" class="altbg1"><b>允许关闭和打开主题:</b><br><span class="smalltxt">设置允许可以打开主题。</span>
    </td>
    <td class="altbg2">
        <s:hidden name="permissionsStr" value="canOpenOrCloseTopic"/>
        <input class="radio" type="radio" name="canOpenOrCloseTopic" value="canOpenOrCloseTopic"
        <c:if test="${fn:indexOf(actionBean.adminGroup.permissions,'canOpenOrCloseTopic')!=-1}"> checked</c:if>>
        打开 &nbsp; &nbsp;<input
            class="radio" type="radio" name="canOpenOrCloseTopic" value="0"
    <c:if test="${fn:indexOf(actionBean.adminGroup.permissions,'canOpenOrCloseTopic')==-1}"> checked</c:if>> 关闭<br>
    </td>
</tr>
<tr>
    <td width="60%" class="altbg1"><b>允许移动帖子:</b><br><span class="smalltxt">设置允许移动用户所发表的帖子。</span>
    </td>
    <td class="altbg2">
        <s:hidden name="permissionsStr" value="canMovePost"/>
        <input class="radio" type="radio" name="canMovePost" value="canMovePost"
        <c:if test="${fn:indexOf(actionBean.adminGroup.permissions,'canMovePost')!=-1}"> checked</c:if>>
        是 &nbsp; &nbsp;<input
            class="radio" type="radio" name="canMovePost" value="0"
    <c:if test="${fn:indexOf(actionBean.adminGroup.permissions,'canMovePost')==-1}"> checked</c:if>>否<br>
    </td>
</tr>
</table>
<br><a name="bbbc225db9ab0ecd"></a>
<center>
    <input type="hidden" name="id" value="${actionBean.adminGroup.id}"/>
    <input class="button" type="submit" name="setDetaiPurview" value="提 交">&nbsp;&nbsp;&nbsp;
    <!--<input class="button" type="submit" name="saveconfigsubmit" value="保存为设置方案">-->
</center>
</s:form>
</td>
</tr>
</table>
<br><br>
</body>
</html>
